package cn.edu.sgu.www.mhxysy.service.chongwu_equipment;

import cn.edu.sgu.www.mhxysy.dto.chongwu_equipment.ChongwuWaiguanDTO;
import cn.edu.sgu.www.mhxysy.entity.chongwu_equipment.ChongwuWaiguanCategory;
import cn.edu.sgu.www.mhxysy.pager.chongwu_equipment.ChongwuWaiguanPager;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
public interface ChongwuWaiguanCategoryService {

	/**
	 * 添加宠物外观
	 * @param chongwuWaiguanDTO 宠物外观信息
	 */
	void insert(ChongwuWaiguanDTO chongwuWaiguanDTO);

	/**
	 * 通过ID修改宠物外观
	 * @param chongwuWaiguanDTO 宠物外观信息
	 */
	void updateById(ChongwuWaiguanDTO chongwuWaiguanDTO);

	/**
	 * 查询全部宠物外观
	 * @return List<ChongwuWaiguanCategory>
	 */
	List<ChongwuWaiguanCategory> selectAll();

	/**
	 * 通过ID查询宠物外观
	 * @param id 宠物外观ID
	 * @return ChongwuWaiguanCategory
	 */
	ChongwuWaiguanCategory selectById(Integer id);

	/**
	 * 查询id=1和id为当前id的宠物外观
	 * @param id 宠物装备外观ID
	 * @return List<ChongwuWaiguanCategory>
	 */
	List<ChongwuWaiguanCategory> selectList(Integer id);

	/**
	 * 分页查询宠物外观列表
	 * @param pager 分页参数
	 * @return Page<ChongwuWaiguanCategory>
	 */
    Page<ChongwuWaiguanCategory> selectByPage(ChongwuWaiguanPager pager);
}